package com.yunxin.core.domain.model.merchant;

/**
 * @author zero°
 * @since 2023-07-12
 */
public interface MerchantContactPersonRepository {

    /**
     * 保存
     * @param merchantContactPerson merchantContactPerson
     * @return boolean
     */
    boolean saveMerchantContactPerson(MerchantContactPerson merchantContactPerson);

    /**
     * 更新
     * @param merchantContactPerson merchantContactPerson
     * @return boolean
     */
    boolean updateMerchantContactPerson(MerchantContactPerson merchantContactPerson);


    /**
     * 根据商户id逻辑删除商户联系人
     * @param editor editor
     * @param merchantId merchantId
     * @return int
     */
    boolean updateMerchantContactDelPersonByMerchantId(String editor, Long merchantId);

}
